package com;

import org.flynenu.core.action.BaseAction;
import org.flynenu.ums.common.bean.BeansEnum;
import org.flynenu.ums.common.bean.BeansManager;
import org.flynenu.ums.common.ticket.Ticket;
import org.flynenu.ums.logic.IGownsman;

public class Test extends BaseAction {
	private static final long serialVersionUID = 7753964160079872563L;
	private String name;
	
	public String getName() {
		return name;
	}

	public String home(){
		name = "Lionel";
		
		IGownsman gownsman = (IGownsman) BeansManager.instance().generateBean(BeansEnum.Gownsman);
		Ticket str = gownsman.applyTicket(11);
		 
		name += "| ticketno:" + str;
		
		return "home";
	}
}
